﻿
@using (Ajax.BeginForm("Search", "Roles", new AjaxOptions { UpdateTargetId = "divGrid", OnBegin = "beginPaging", OnSuccess = "successPaging" }))
   { 
    <fieldset>
        <legend>Search by</legend>
        Role Name: @Html.TextBox("valSearch")
        <input type="submit" value="Search" /> 
    </fieldset>      
} 